from tools import set_log
import unittest
import HTMLTestRunner_PY3
if __name__ == '__main__':
    send=unittest.defaultTestLoader.discover('./',pattern='case.py')
    set_log('register.txt','w')
    with open('register.html','wb') as e:
        runner=HTMLTestRunner_PY3.HTMLTestRunner(stream=e)
        runner.run(send)